load("@io_bazel_rules_go//go:def.bzl", "go_library")

go_library(
    name = "reference",
    srcs = [
        "helpers.go",
        "normalize.go",
        "reference.go",
        "regexp.go",
    ],
    importmap = "github.com/cockroachdb/cockroach/vendor/github.com/docker/distribution/reference",
    importpath = "github.com/docker/distribution/reference",
    visibility = ["//visibility:public"],
    deps = [
        "//vendor/github.com/docker/distribution/digestset",
        "//vendor/github.com/opencontainers/go-digest",
    ],
)
